|
|
| Menu location |
|---|
| Meshes → Export Mesh… |
| Workbenches |
| Mesh |
| Default shortcut |
| None |
| Introduced in version |
| - |
| See also |
| Std Export, Import Export |
The Mesh Export command exports a mesh object to a mesh file format. Several file formats are supported.
All files (*.*) option in the previous step, and do not specify a file extension here, the .stl extension will be used.See also: FreeCAD Scripting Basics.
To export objects (including mesh objects) to a mesh file format use the export method of the Mesh module.
import FreeCAD
import Mesh
doc = FreeCAD.ActiveDocument
Mesh.export([doc.Cone, doc.Cylinder], "D:/testfiles/mymodel.stl")